"""
    Utility module with environment getters.
"""

import datetime

from mnemoply.model.environment import Environment

# When 2005-2006 returns 2005
def getAcademicYear():
    return int(Environment.getValue('academic_year'))

def getLessonStartDate():
    return datetime.date(day=1, month=9, year=getAcademicYear())
